package day0911.demo1;

import java.util.Arrays;

/**
 * @Author:galaxy_yan
 * @Date: 2022/9/11
 * @Time: 20:36
 * @Description
 */
public class Text {
    public static void main(String[] args) {

        Student[] student=new Student[]{
                new Student("张三",78),
                new Student("李四",95),
                new Student("王二",83),
                new Student("麻子",89)
        };

        Arrays.sort(student);
        System.out.println(Arrays.toString(student));

    }
}
